package com.tencent.qf.team.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tencent.qf.team.dal.CommdityCouponsNewstate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

@DS("biappdb")
@Mapper
public interface CommdityCouponsNewstateDao {
    CommdityCouponsNewstate selectByPrimaryKey(Long stockid);

    List<CommdityCouponsNewstate> validUniqueIdList(@Param("stockIds") Set<String> stockIds, @Param("dateNow") String dateNow);

    List<CommdityCouponsNewstate> calculatePriceInfo(@Param("stockIds") String[] stockIds, @Param("dateNow") String dateNow);
}